import { ChatDotRound, Hide, Search } from '@element-plus/icons-vue'
import type { IMenuConfig } from '@/manager/types'
import type { IListItem } from '@/common/types'

export enum RouteName {
  MY = 'my',
  COLLEAGUE = 'colleague',
  AT = 'at',
  SEARCH = 'search',
  HIDE = 'hide'
}

export const menuList: IMenuConfig[] = [
  {
    title: '我的会话',
    icon: ChatDotRound,
    route: RouteName.MY
  },
  {
    title: '同事会话',
    icon: ChatDotRound,
    route: RouteName.COLLEAGUE
  },
  {
    title: '@ 我',
    icon: ChatDotRound,
    route: RouteName.AT
  },
  {
    title: '会话搜寻',
    icon: Search,
    route: RouteName.SEARCH
  },
  {
    title: '隐藏列表',
    icon: Hide,
    route: RouteName.HIDE
  }
]

export enum ServiceRole {
  SELF = 'self',
  INNER = 'inner',
  ANONYMOUS = 'anonymous'
}

export const serviceRoleList: IListItem<ServiceRole>[] = [
  {
    label: '本人',
    value: ServiceRole.SELF
  },
  {
    label: '内部',
    value: ServiceRole.INNER
  },
  {
    label: '匿名',
    value: ServiceRole.ANONYMOUS
  }
]
